package com.han.spring.core.aop.proxy.st;

/**
 * @author hanpeng
 * @version 创建时间：2020年7月8日 下午9:06:32
 * @ClassName 类名称
 * @Description 类描述
 */
public class MathLevel1Proxy implements Math1 {
	private Math1 math;
	
	public MathLevel1Proxy(Math1 math) {
		super();
		this.math = math;
	}

	@Override
	public int add(int i, int j) {
		System.out.println("i= " + i + " " + "j= " + j);
		int result = math.add(i, j);
		System.out.println("result= " + result);
		return result;
	}

	@Override
	public int sub(int i, int j) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int mul(int i, int j) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int div(int i, int j) {
		// TODO Auto-generated method stub
		return 0;
	}

}
